WooCommerce\PayPalCommerce\WcGateway\Gateway\CreditCardGateway A

Total Complexity 63
Dependencies 26
Dependents 23
Total lines 658
Lines of code 308
Logical lines of code 144
Comment lines 226
Methods 16
Properties 19

Methods 16

Method Rating Maintainability Complexity Lines of code
process_payment()
C
30 29 112
__construct()
A
39 8 72
get_icon()
S
55 3 20
replace_credit_card_cvv_placeholder()
S
68 4 6
card_labels()
S
50 1 39
replace_credit_card_cvv_label()
S
70 3 6
process_refund()
S
67 2 7
init_settings()
S
75 2 4
get_option()
S
71 2 6
update_option()
S
65 2 9
is_enabled()
S
79 2 3
init_form_fields()
S
70 1 7
form()
S
68 1 7
is_available()
S
81 1 3
get_transaction_url()
S
75 1 4
settings_renderer()
S
82 1 3